\ProvidesPackage{pylot}

\usepackage{geometry} % permet de modifier les marges
\usepackage{eurosym} % ajoute le symbole euro
\usepackage[pdftex]{xcolor} % permet de colorer facilement le texte
\usepackage[pdftex]{graphicx} % ajout de graphes

\geometry{a4paper, top=3cm, bottom=3cm, left=3cm, right=2.5cm}
\usepackage[english,french]{babel}
\usepackage[pdftex, colorlinks=true, linkcolor=pylotcolorlink, urlcolor=pylotcolorurl, citecolor=pylotcolorbib]{hyperref}
\usepackage{autofe}
\usepackage[T1]{fontenc}

% Création de l'index
\makeindex

\usepackage{amssymb}

\definecolor{pylotcolorlink}{RGB}{100,100,100}
\definecolor{pylotcolorurl}{RGB}{0,0,200}
\definecolor{pylotcolorgloss}{RGB}{0,128,128}
\definecolor{pylotcolorbib}{RGB}{0,100,0}
\definecolor{pylotcolorinria}{RGB}{90,80,191}

\newcommand{\n}{\vspace*{1em}}
\newcommand{\guill}[1]{\og{}#1\fg{}}

\newcommand{\ok}{\textcolor[RGB]{0,150,0}{\checkmark}\;}
\newcommand{\notok}{\textcolor[RGB]{200,0,0}{\times}\;}
\newcommand{\na}{\textcolor[RGB]{200,150,0}{---\;}}

\newcommand{\warning}[1]{\textcolor[RGB]{200,0,0}{#1}}
\newcommand{\info}[1]{\textcolor[RGB]{0,0,255}{#1}}
\newcommand{\comment}[1]{\textcolor[RGB]{150,150,150}{#1}}

\newcommand{\pylottitle}[1]{\textcolor{pylotcolorinria}{#1}}

\newcommand{\dg}{\,^{\circ}}

\newcommand{\nomencl}[2]{
\makebox[3em]{$#1$}:\makebox[1em]{}#2\\
}


%-------------------------------------------------------------------------------
% Commandes facilitant l'écriture de la doc et assurant une cohérence dans
% l'écriture des termes
\newenvironment{question}{\indent{\large Q} - }{}
\newenvironment{reponse}{\indent{\large R} - }{\n}

\newcommand{\libname}[1]{\texttt{#1}}
\newcommand{\fichier}[1]{\texttt{#1}}
\newcommand{\obj}[1]{\texttt{#1}}
\newcommand{\class}[1]{\texttt{\textcolor{blue}{#1}}}
\newcommand{\ibash}[1]{\texttt{#1}}

\newcommand{\Qt}{\libname{Qt}}
\newcommand{\shell}{\libname{Shell}}

% Types de base :
\newcommand{\pystr}{'str'}
\newcommand{\pyKey}[1]{\texttt{\textcolor{green}{#1}}}
\newcommand{\pyTrue}{\pyKey{True}}
\newcommand{\pyFalse}{\pyKey{False}}
